package com.ruoyi.withdraw.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店提现申请记录对象 jy_withdraw_apply
 *
 * @author ruoyi
 * @date 2021-11-30
 */
@ApiModel
public class WithdrawApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 申请单名称 */
    @Excel(name = "申请单名称")
    @ApiModelProperty(value = "申请单名称")
    private String withdrawName;

    /** 申请金额 */
    @Excel(name = "申请金额")
    @ApiModelProperty(value = "申请金额")
    private BigDecimal withdrawMoney;

    /** 审核状态 */
    @Excel(name = "审核状态")
    @ApiModelProperty(value = "审核状态")
    private String withdrawState;

    /** 汇款订单号 */
    @Excel(name = "汇款订单号")
    @ApiModelProperty(value = "汇款订单号")
    private String payOrderNo;

    /** 汇款订单i */
    @Excel(name = "汇款订单i")
    @ApiModelProperty(value = "汇款订单i")
    private Long payRecordId;

    /** 汇款失败原因 */
    @Excel(name = "汇款失败原因")
    @ApiModelProperty(value = "汇款失败原因")
    private String payErrorMsg;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    @ApiModelProperty(value = "拒绝原因")
    private String refuseReason;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setWithdrawName(String withdrawName)
    {
        this.withdrawName = withdrawName;
    }

    public String getWithdrawName()
    {
        return withdrawName;
    }
    public void setWithdrawMoney(BigDecimal withdrawMoney)
    {
        this.withdrawMoney = withdrawMoney;
    }

    public BigDecimal getWithdrawMoney()
    {
        return withdrawMoney;
    }
    public void setWithdrawState(String withdrawState)
    {
        this.withdrawState = withdrawState;
    }

    public String getWithdrawState()
    {
        return withdrawState;
    }
    public void setPayOrderNo(String payOrderNo)
    {
        this.payOrderNo = payOrderNo;
    }

    public String getPayOrderNo()
    {
        return payOrderNo;
    }
    public void setPayRecordId(Long payRecordId)
    {
        this.payRecordId = payRecordId;
    }

    public Long getPayRecordId()
    {
        return payRecordId;
    }
    public void setPayErrorMsg(String payErrorMsg)
    {
        this.payErrorMsg = payErrorMsg;
    }

    public String getPayErrorMsg()
    {
        return payErrorMsg;
    }
    public void setRefuseReason(String refuseReason)
    {
        this.refuseReason = refuseReason;
    }

    public String getRefuseReason()
    {
        return refuseReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("withdrawName", getWithdrawName())
            .append("withdrawMoney", getWithdrawMoney())
            .append("withdrawState", getWithdrawState())
            .append("payOrderNo", getPayOrderNo())
            .append("payRecordId", getPayRecordId())
            .append("payErrorMsg", getPayErrorMsg())
            .append("refuseReason", getRefuseReason())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
